Smush\Core\Modules\CDN D

Total Complexity 200
Dependencies 4
Dependents 5
Total lines 1,471
Lines of code 677
Logical lines of code 384
Comment lines 574
Methods 33
Properties 7

Methods 33

Method Rating Maintainability Complexity Lines of code
parse_image()
C
36 26 73
is_supported_path()
A
48 17 28
set_additional_srcset()
A
40 13 59
update_image_srcset()
A
46 13 37
status()
A
52 11 21
update_cdn_image_src_args()
A
50 10 29
filter_rest_api_response()
A
53 9 23
settings_desc()
A
44 7 51
generate_srcset()
A
51 8 26
init_flags()
S
58 7 16
init()
S
51 6 24
generate_cdn_url()
S
54 6 20
cdn_stats_ui()
S
50 5 33
check_mapped_domain()
S
54 5 22
get_size_from_file_name()
S
58 5 15
is_valid_url()
S
60 5 13
process_cdn_status()
S
53 4 26
max_content_width()
S
62 5 11
parse_background_image()
S
59 4 15
update_stats()
S
62 4 11
maybe_generate_srcset()
S
54 3 21
update_image_sizes()
S
63 4 10
dns_prefetch()
S
69 4 6
get_url_without_dimensions()
S
60 3 12
get_image_size()
S
62 3 11
process_src()
S
63 3 10
register()
S
52 1 27
schedule_cron()
S
72 2 5
get_status()
S
79 2 3
init_parser()
S
70 2 7
unschedule_cron()
S
75 1 4
set_cdn_url()
S
74 1 4
__construct()
S
77 1 4